package com.xyy.saas.payment.service.impl;

import com.xyy.saas.payment.dao.mapper.AreaCodeMapper;
import com.xyy.saas.payment.dao.model.AreaCode;
import com.xyy.saas.payment.service.AreaCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreaCodeServiceImpl implements AreaCodeService {

    @Autowired
    private AreaCodeMapper areaCodeMapper;

    @Override
    public List<AreaCode> queryByPid(Long pid) {
        return areaCodeMapper.queryByPid(pid);
    }

}
